package com.peng.my_blog.chat.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * All rights Reserved, Designed By www.rongdasoft.com
 *
 * @version V1.0
 * @Title: MsgType
 * @Description:
 * @author:wsp
 * @date: 2019/10/12
 * @Copyright: 2019/10/12 www.rongdasoft.com
 * Inc. All rights reserved.
 */

@AllArgsConstructor
@Getter
@ToString
public enum MsgType implements BaseEnum {
    SEND_ONE(0, "单发"),
    SEND_ALL(1, "群发");

    private Integer code;
    private String type;

    @Override
    public Integer getCode() {
        return this.code;
    }
}
